package com.lagou.session;

import com.lagou.utils.ParameterMapping;
import lombok.Data;

import java.util.List;

/**
 * 保存Sql语句的对象
 *
 * @author Tengfei.Wang
 * @date 21/8/2020
 */
@Data
public class BoundSql {

    private String sql;

    private List<ParameterMapping> parameterMappingList;

    public BoundSql(String sql, List<ParameterMapping> parameterMappingList) {
        this.sql = sql;
        this.parameterMappingList = parameterMappingList;
    }
}
